home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / cpcug.zip / RED.DOC < prev    next >
Text File  |  1987-04-20  |  2KB  |  42 lines

  1.           RED (Redirect)                          John Dickinson
  2.           Command
  3.           Copyright (c) 1986, Ziff-Davis Publishing Co.
  4.           _______________________________________________________
  5.  
  6.           Purpose:  Transfers one (or more) file(s) from one
  7.                     subdirectory to another without requiring the
  8.                     use of COPY and ERASE.
  9.  
  10.           Format:   RED [d:][path]filename[.ext] [d:][path]
  11.  
  12.           Remarks:  Like the DOS COPY command, RED.COM supports
  13.                     the use of the global characters ? and * in
  14.                     specifying the desired source files.
  15.  
  16.                     Unlike COPY, however, RED.COM does not permit
  17.                     renaming a file during the transfer process.
  18.                     (This is why it is unnecessary to supply a
  19.                     target filename.)  Furthermore, RED requires
  20.                     that the source and target drives be the
  21.                     same.  You cannot, therefore, remove a set of
  22.                     files from drive C: by trying to REDirect
  23.                     them to drive A:.
  24.  
  25.           Example:  Before submitting your income tax you
  26.                     calculated it under several different
  27.                     methods, contained in files named ROUGH1.DAT
  28.                     through ROUGH6.WKS.  These are all in the
  29.                     subdirectory \IRS on drive C:, and you want
  30.                     to move them all to a sub-subdirectory (which
  31.                     you have created) called \1985TAX\DRAFTS.
  32.                     From the C> prompt enter
  33.  
  34.                          RED \IRS\ROUGH?.* \1985TAX\DRAFTS
  35.  
  36.                     and all six files will be moved out of \IRS
  37.                     and into \1985\DRAFTS.
  38.  
  39.                     Note:
  40.  
  41.                     1.   Requires DOS 2.0 or later.
  42.